package com.holdtime.jtt809.taxi.module.model.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 车辆定位信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class LocationNewPageReqVO extends PageParam {

    @Schema(description = "车牌颜色")
    private String vehicleColor;

    @Schema(description = "上传时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] uploadTime;

    @Schema(description = "经度")
    private String lon;

    @Schema(description = "纬度")
    private String lat;

    @Schema(description = "卫星定位速度")
    private Short sps;

    @Schema(description = "行驶记录速度")
    private Short drs;

    @Schema(description = "总里程")
    private Integer mileage;

    @Schema(description = "方向")
    private Short direction;

    @Schema(description = "海拔高度")
    private Short altitude;

    @Schema(description = "车辆状态")
    private Integer state;

    @Schema(description = "报警状态")
    private Integer alarm;

}